using System;
using Microsoft.SPOT;

namespace codebase
{
    public class Settings
    {
        public string BaudRate = "9600";
        public int bIndex = 6;

        public string Parity = "None";
        public int pIndex = 2;

        public string DataBits = "8";
        public int dIndex = 1;

        public string StopBits = "One";
        public int sIndex = 1;

        public bool waitForAnswer = false;
        public bool waitForTimeOut = true;
        public int answerLength = 10;
        public int timeOutInterval = 1000;

        public string lastSendText = "";

        public enum Inputs
        {
            SetAnswerLength = 0,
            SetTimeOutInterval = 1,
            Send = 2
        }
    }
}
